<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<head>
    <base href="<%=basePath %>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>农资与农产品全程供应链物流平台</title>
<meta name="kewywords" content="农资与农产品全程供应链物流平台"/>
<meta name="description" content="农资与农产品全程供应链物流平台"/>
<link href="css/style.css" type="text/css" rel="stylesheet"/>
<link href="css/login.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="js/dialog/lhgdialog.js?skin=default"></script>
<script type="text/javascript">
	function check(){		
		var pattern = new RegExp(/^[0-9-+]+$/);
        var orderid = $("#orderId").val();
        if($.trim(orderid).length != 12){
        	showTip("请输入12位数字订单号码");
        	return;
        }else if(!pattern.test(orderid)){
        	showTip("您输入的号码中含有非数字字符，请重新输入");
        	return;
        }
		$("#orderQuery").submit();
	}
	function showTip(alertMessage){
		$.dialog({
			title: "提示",
		    time: 5,
		    lock: true,
		    content: alertMessage,
		    width: 160,
	    	height: 80
		});
	}
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td height="126" class="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="tl">
      <tr>
        <td width="42%" height="126" align="left" valign="top"><img src="images/l_top.jpg" alt="" width="750" height="126" /></td>
        <td width="47%" valign="top"></td>
        <td width="11%" align="right"><img src="images/rt.jpg" alt="" width="170" height="126" /></td>
      </tr>
    </table></td>
  </tr>
</table>
<div class="login-body">
  <form action="orderQuery" id = "orderQuery" method="post">
  <div class="operate-log fl" style="width: 410px;">
  <table>
      <tr>
      <td colspan="2" align="left">
                          订单号：
          <input type="text"   class="text-log"  id="orderId" name="orderId"/>
          </td>
       <td colspan="2" align="center">
                         &nbsp;
       </td>
        <td colspan="2" align="center">
        	<input type="button" onclick="check()" style="background:url(images/q_bt1.jpg);border-style:none; width:70px; height:28px; background-repeat:no-repeat; " />
        	</td>
        	
      </tr>
    </table>
  </div>
  </form>
  <div class=" img-log fl"><img src="images/login_pig.jpg" alt="" width="538" height="337" /></div>
  <div class="clr"></div>
</div>

<div class="bottom">版权所有：安徽朗坤物联网</div>
</body>
</html>